/**
 * @filename:ContractDetail 2021-11-09 01:40:36
 * @project com/lwl/blue  V1.0
 * Copyright(c) 2020 <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a> Co. Ltd.
 * All right reserved.
 */
package com.lwl.blue.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lwl.blue.commont.aop.PowerFieldInterface;
import com.lwl.blue.commont.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>代码自动生成，请勿修改</p>
 *
 * <p>说明： 合同明细实体类</P>
 *
 * @version: V1.0
 * @author: <a href=mailto:lanwenliang@yidianlife.com>蓝文良</a>
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractDetail extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1636436436422L;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id", value = "ID")
    private Integer id;
    @ApiModelProperty(name = "contractId", value = "订单ID")
    private Integer contractId;
    @ApiModelProperty(name = "customerItemsNo", value = "客人货号")
    private String customerItemsNo;
    @ApiModelProperty(name = "customerPrice", value = "客人价格")
    @PowerFieldInterface
    private BigDecimal customerPrice;
    @ApiModelProperty(name = "deliveryDate", value = "交货日期")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryDate;
    @ApiModelProperty(name = "packaging", value = "包裝要求")
    private String packaging;
    @ApiModelProperty(name = "boxNumber", value = "外箱数量")
    private BigDecimal boxNumber;
    @ApiModelProperty(name = "innerBoxNumber", value = "內盒数量")
    private BigDecimal innerBoxNumber;
    @ApiModelProperty(name = "po", value = "po")
    private String po;
    @ApiModelProperty(name = "upc", value = "UPC")
    private String upc;
    @ApiModelProperty(name = "gw", value = "GW(KGS)")
    private BigDecimal gw;
    @ApiModelProperty(name = "nw", value = "NW(KGS)")
    private BigDecimal nw;
    @ApiModelProperty(name = "moq", value = "MOQ")
    private String moq;
    @ApiModelProperty(name = "itemId", value = "产品ID")
    private Integer itemId;
    @ApiModelProperty(name = "itemName", value = "产品名称")
    private String itemName;

    @ApiModelProperty(name = "itemNo", value = "产品编号")
    private String itemNo;
    @ApiModelProperty(name = "supplierId", value = "工厂ID")
    private Integer supplierId;
    @ApiModelProperty(name = "supplierItemsNo", value = "工厂货号")
    private String supplierItemsNo;
    @ApiModelProperty(name = "supplierPrice", value = "工厂价格")
    @PowerFieldInterface
    private BigDecimal supplierPrice;

    @ApiModelProperty(name = "itemSizeHeight", value = "产品尺寸-高")
    private BigDecimal itemSizeHeight;
    @ApiModelProperty(name = "itemSizeLength", value = "产品尺寸-长")
    private BigDecimal itemSizeLength;
    @ApiModelProperty(name = "itemSizeWidth", value = "产品尺寸-宽")
    private BigDecimal itemSizeWidth;

    @ApiModelProperty(name = "innerBoxSizeHeight", value = "内箱-高")
    private BigDecimal innerBoxSizeHeight;
    @ApiModelProperty(name = "innerBoxSizeLength", value = "内箱-长")
    private BigDecimal innerBoxSizeLength;
    @ApiModelProperty(name = "innerBoxSizeWidth", value = "内箱-宽")
    private BigDecimal innerBoxSizeWidth;
    @ApiModelProperty(name = "boxSizeHeight", value = "外箱-高")
    private BigDecimal boxSizeHeight;
    @ApiModelProperty(name = "boxSizeLength", value = "外箱-长")
    private BigDecimal boxSizeLength;
    @ApiModelProperty(name = "boxSizeWidth", value = "外箱-宽")
    private BigDecimal boxSizeWidth;
    @ApiModelProperty(name = "boxSroughWeight", value = "产品-毛重")
    private BigDecimal boxSroughWeight;
    @ApiModelProperty(name = "boxSuttle", value = "外箱-净重")
    private BigDecimal boxSuttle;
    @ApiModelProperty(name = "cubeNumber", value = "立方数")
    private BigDecimal cubeNumber;
    @ApiModelProperty(name = "justCount", value = "才数")
    private BigDecimal justCount;
    @ApiModelProperty(name = "itemQuality", value = "材质分析")
    private String itemQuality;
    @ApiModelProperty(name = "itemUnit", value = "产品单位")
    private String itemUnit;
    @ApiModelProperty(name = "itemWeight", value = "产品重量")
    private BigDecimal itemWeight;
    @ApiModelProperty(name = "photo", value = "图片")
    private String photo;
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    //---------------其他表字段----------------
    @ApiModelProperty(name = "quotationName", value = "报价单名称")
    @TableField(exist = false)
    private String quotationName;
    @ApiModelProperty(name = "quotationNo", value = "报价单编号")
    @TableField(exist = false)
    private String quotationNo;
    @ApiModelProperty(name = "contractName", value = "订单名称")
    @TableField(exist = false)
    private String contractName;
    @ApiModelProperty(name = "contractNo", value = "订单编号")
    @TableField(exist = false)
    private String contractNo;
    @TableField(exist = false)
    private String supplierName;
    @TableField(exist = false)
    private String supplierNo;
    @ApiModelProperty(name = "customerName", value = "客人名称")
    @TableField(exist = false)
    private String customerName;
    @ApiModelProperty(name = "customerNo", value = "客人编号")
    @TableField(exist = false)
    private String customerNo;


    @ApiModelProperty(name = "createTimeStart", value = "时间条件参数开始--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeStart;
    @ApiModelProperty(name = "createTimeEnd", value = "时间条件参数结束--创建时间")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date createTimeEnd;
    @ApiModelProperty(name = "deliveryDateStart", value = "时间条件参数开始--交货日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryDateStart;
    @ApiModelProperty(name = "deliveryDateEnd", value = "时间条件参数结束--交货日期")
    @TableField(exist = false)
    @JSONField(serialize = false, format = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryDateEnd;
    @ApiModelProperty(name = "idBatch", value = "批量主键处理")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private List<Integer> idBatch;
    @ApiModelProperty(name = "paramAsc", value = "升序参数：contractId、createTime、customerItemsNo、deliveryDate、id、isDelete、itemBoxs、itemDescription、itemNumber、itemsNo、packagingRequirements、photo、price、remark、supplierId、supplierItemsNo、totalPrice、upc、volumeWood、weight、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramAsc;
    @ApiModelProperty(name = "paramDesc", value = "降序参数：contractId、createTime、customerItemsNo、deliveryDate、id、isDelete、itemBoxs、itemDescription、itemNumber、itemsNo、packagingRequirements、photo、price、remark、supplierId、supplierItemsNo、totalPrice、upc、volumeWood、weight、")
    @JSONField(serialize = false)
    @TableField(exist = false)
    private String[] paramDesc;

    // 英寸部分字段
    @ApiModelProperty(name = "itemSizeHeightInch", value = "产品尺寸-高(英寸)")
    @TableField(exist = false)
    private BigDecimal itemSizeHeightInch;
    @ApiModelProperty(name = "itemSizeLengthInch", value = "产品尺寸-长(英寸)")
    @TableField(exist = false)
    private BigDecimal itemSizeLengthInch;
    @ApiModelProperty(name = "itemSizeWidthInch", value = "产品尺寸-宽(英寸)")
    @TableField(exist = false)
    private BigDecimal itemSizeWidthInch;
    @ApiModelProperty(name = "boxSizeHeightInch", value = "外箱-高")
    @TableField(exist = false)
    private BigDecimal boxSizeHeightInch;
    @ApiModelProperty(name = "boxSizeLengthInch", value = "外箱-长")
    @TableField(exist = false)
    private BigDecimal boxSizeLengthInch;
    @ApiModelProperty(name = "boxSizeWidthInch", value = "外箱-宽")
    @TableField(exist = false)
    private BigDecimal boxSizeWidthInch;
    @ApiModelProperty(name = "innerBoxSizeHeightInch", value = "内箱-高")
    @TableField(exist = false)
    private BigDecimal innerBoxSizeHeightInch;
    @ApiModelProperty(name = "innerBoxSizeLengthInch", value = "内箱-长")
    @TableField(exist = false)
    private BigDecimal innerBoxSizeLengthInch;
    @ApiModelProperty(name = "innerBoxSizeWidthInch", value = "内箱-宽")
    @TableField(exist = false)
    private BigDecimal innerBoxSizeWidthInch;
    //磅部分字段
    @ApiModelProperty(name = "boxSroughWeightBl", value = "外箱-毛重(磅)")
    @TableField(exist = false)
    private BigDecimal boxSroughWeightBl;
    @ApiModelProperty(name = "boxSuttleBl", value = "外箱-净重(磅)")
    @TableField(exist = false)
    private BigDecimal boxSuttleBl;
}
